Skip to content

Added a caution note about services that must maintain the "class" parameter #7959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2017

Conversation

javiereguiluz
Copy link
Member

This fixes #7935.


Services associated with global PHP classes (i.e. not using PHP namespaces)
must maintain the ``class`` parameter. For example, when using the old Twig
classes (e.g. ``Twig_Extensions_Extension_Intl`` instead of ``Twig\Extensions\IntlExtension``)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing comma at the end of the line

Services associated with global PHP classes (i.e. not using PHP namespaces)
must maintain the ``class`` parameter. For example, when using the old Twig
classes (e.g. ``Twig_Extensions_Extension_Intl`` instead of ``Twig\Extensions\IntlExtension``)
you can't redefine the service as `Twig_Extensions_Extension_Intl: ~` and
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need two backticks here

@xabbuh xabbuh added this to the 3.3 milestone May 29, 2017
@xabbuh
Copy link
Member

xabbuh commented Aug 1, 2017

Thank you Javier.

@xabbuh xabbuh merged commit 4219a5e into symfony:3.3 Aug 1, 2017
xabbuh added a commit that referenced this pull request Aug 1, 2017
…e "class" parameter (javiereguiluz, HeahDude)

This PR was merged into the 3.3 branch.

Discussion
----------

Added a caution note about services that must maintain the "class" parameter

This fixes #7935.

Commits
-------

4219a5e minor fix
b857caf Added a caution note about services that must maintain the "class" parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants